/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.system.service.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.List;

/**
* @website https://el-admin.vip
* @description /
* @author zhaoxiancheng
* @date 2021-11-18
**/
@Data
public class ExamInfoDto implements Serializable {

    /** 编号自增 */
    private Integer id;

    /** 题目 */
    private String exam;

    /** 答案 */
    private String answer;

    /** 分值 */
    private String score;

    /** 选项 */
    private String chose;

    /** 是否可用：0-可用；1-停用 */
    private String status;

    /** 题型编号 */
    private String examTypeId;

    /** 答案是否唯一：0-是；1-否 */
    private String isOnly;

    /** 正向得分描述 */
    private String description;

    /** 得分=5 */
    private String title;

    /**
     * 题库
     */
    private Long examDatabaseId;

    /**
     * 题目编号
     */
    private String examNo;

    /**
     * 得分=1
     */
    private String reversalTitle;

    /**
     * 负向得分描述
     */
    private String reversalDesc;

    private String groupCode;


    private String[] options;

    private String[] scores;

    private List<ExamInfoDto> childrenList;

    @JsonIgnore
    private Float testScores;

    @JsonIgnore
    private int choseIndex;
}